package cn.gene.timeyan.pojo.article.vo;

import cn.gene.timeyan.pojo.ums.vo.UserSimpleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("文章信息展示")
public class ArticleVO implements Serializable {
    @ApiModelProperty(value = "文章Id")
    private Long articleId;
    @ApiModelProperty(value = "作者Id")
    private Long userId;
    @ApiModelProperty(value = "标题")
    private String articleTitle;
    @ApiModelProperty(value = "内容")
    private String articleContent;
    @ApiModelProperty(value = "状态")
    private String articleState;
    @ApiModelProperty(value = "点赞数")
    private Integer articleLike;
    @ApiModelProperty(value = "收藏数")
    private Integer articleCollection;
    @ApiModelProperty(value = "浏览数")
    private Integer articleVisit;
    @ApiModelProperty(value = "评论数")
    private Integer articleComment;
    @ApiModelProperty(value = "转发数")
    private Integer articleRetweetedarticleRetweeted;
    @ApiModelProperty(value = "发布时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "作者信息")
    private UserSimpleVO userInfo;
    @ApiModelProperty(value = "文章评论列表")
    private List<CommentVO> commentList;
}
